package com.user.dao;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.bean.Admin;
import com.bean.Pet;
import com.bean.Type;
import com.bean.User;
@Mapper
@Repository("userDao")
public interface UserDao {

	User Check(User user);
	int insertUser(User user);
	User selectById(int uid);
	Admin selectAdmin(Admin admin);
	int updateInfo1(User user);
	List<User> selectUser();
	int delUser(User user);
   
	List<Pet> UserSelectPetByPname(String pname);
	List<Map<String,Object>> selectPetByTid(int tid);
	Pet selectPetByID(int pid);
	List<Map<String,Object>> getPet();
	List<Type> selectPettype();
}
